package com.bbc.mapper.comment;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.bbc.base.BaseMapper;
import com.bbc.entity.comment.Comment;
import com.bbc.entity.comment.CommentQuery;

@Repository
public interface CommentMapper extends BaseMapper {
	
	Integer addComment(Comment comment);
	List<Comment> findComment(CommentQuery query);
	Integer findCommentCount(CommentQuery query);
	void deleteComment(Integer commentId); 
	
	Integer addCommentBack(Comment comment);

}
